﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TQB.Page.Config;
using System.Configuration;

public partial class TestDemo_WebConfig_SelfDefineSection : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        HandlerTQBSection tqb = (HandlerTQBSection)ConfigurationManager.GetSection("handlerTQB");

        ConfigItemCollection xc = tqb.Items;
        //ConfigItem item = xc["ddd"];
        foreach (ConfigItem item in xc)
        {
            Response.Write(item.Name + "<br>" + item.MethodName + "<br>");


        }
    }
}